<template>
    <div id="box">
        <h2>{{title}}</h2>
        <form action="javascript:;">
            <p><input type="text" placeholder="请输入用户名"></p>
            <p><input type="password" placeholder="请输入密码"></p>
            <el-button type="primary">立即登录</el-button>
        </form>
    </div>
</template>

<script>
export default {
    name: "RegisterView",
    data(){
        return{
            title:'欢迎注册'
        }
    }
}
</script>

<style scoped>

#box{
    border: 1px solid red;
    width: 300px;
    height: 300px;
}
</style>